package cn.pop.hsp_system_v2.Pojo;


/**
 * 病人信息管理对象 patient
 * 
 * @author pop404
 * @date 2021-11-12
 */
public class Patient
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 就诊卡关联id */
    private String uuid;

    /** 姓名 */
    private String name;

    /** 性别 */
    private Integer sex;

    /** 年龄 */
    private Integer age;

    /** 地址 */
    private String address;

    /** 手机号 */
    private Long phone;

    /** 身份证号 */
    private String idCard;

    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUuid(String uuid) 
    {
        this.uuid = uuid;
    }

    public String getUuid() 
    {
        return uuid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setAge(Integer age) 
    {
        this.age = age;
    }

    public Integer getAge() 
    {
        return age;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPhone(Long phone) 
    {
        this.phone = phone;
    }

    public Long getPhone() 
    {
        return phone;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Patient{" +
                "id=" + id +
                ", uuid='" + uuid + '\'' +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", age=" + age +
                ", address='" + address + '\'' +
                ", phone=" + phone +
                ", idCard='" + idCard + '\'' +
                ", userId=" + userId +
                '}';
    }
}
